-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking missing documentation #89
Comments
This was referenced Mar 2, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
General
F.Promise
in the docs. See Update the book (F.Promise to CompletionStage) #27play.http.actionComposition.controllerAnnotationsFirst = [true | false]
to controll if controller annotations/constraints should run before or after the method ones.Since version
2.6.3
DefaultSubject
class that can be used. See pull request Add generic DefaultSubject #44Since version
2.6.4
deadbolt.java.cache-before-auth-check=[true | false (default) ]
Caches the result of
deadboltHandler.beforeAuthCheck(...)
for the current request (similar todeadbolt.java.cache-user
). Also see Allow caching of multiple subjects per request #48 (comment)deadbolt.java.constraint-mode
can bePROCESS_FIRST_CONSTRAINT_ONLY
(the default, backward compatible),AND
(all constraint annotations of the current action composition chain have to be successful) orOR
(only one constraint annotation of the current action composition chain has to be successful) See tests added in Adding tests for all the different modes (OR, AND and the default one) #83 for examples@Pattern
: addedmode
attribute (can beAND
orOR
) +value
attribute takes an array nowExampe see AND/OR mode for @Pattern constraint #88
Since version
2.7.0
Http.Context
andctx.args
toHttp.RequestHeader
and it's request attributes (e.g. in the deadbolt handler methods): See Play migration guide and Upgrade to Play 2.7.0-RC3 #95#deadbolt:...
becomes+ deadbolt:...
andDeadboltRouteCommentFilter*
classes were renamed toDeadboltRouteModifierTagsFilter*
. For more details please see Use route modifier tags instead of comments in filter #96.DeadboltHandler.beforeAuthCheck(Http.RequestHeader context, Optional<String> content)
also getscontent
passed now, see [2.7] Remove deprecated beforeAuthCheck(...) method #77@Repeatable
(actually works with version 2.6.4 and Play 2.6.11 already, however we shouldn't mention it before deadbolt 2.7 comes out so people try to use it with lets say Play 2.6.8). Example see Let's make constraint annotations @Repeatable #70@Deferrable
was removed - remove it from the docs, see [2.7] Remove @Deferrable annotation - it's not needed anymore #81alwaysExecute
is nowfalse
by default (it should have beenfalse
always anyway like it says in the docs) see [2.7] alwaysExecute behaviour should match the documented one #76ExecutionContextProvider
stuff and thedeadbolt.java.custom-execution-context
config, see [2.7] Remove unnecessary ExecutionContextProvider #46TemplateMagicForJava
takes care of this by provding you that implicit requestheader by getting it from the context thread-local. More details see Play migration guidereference.conf
file (instead of having it in aConfigKeys
class)The text was updated successfully, but these errors were encountered: