Uses of Class
ca.cdr.api.model.json.GrantedAuthorityJson
Package
Description
Machinery for declaring, parsing, and formatting PermissionEnum arguments from GrantedAuthorityJson.
-
Uses of GrantedAuthorityJson in ca.cdr.api.model.json
Modifier and TypeMethodDescriptionstatic GrantedAuthorityJson
GrantedAuthorityJson.withArgument
(String theArgument) Create a copy of this authority with the same permission but a different argumentModifier and TypeMethodDescriptionIOAuth2Session.getAuthorities()
UserDetailsJson.getAuthorities()
IHasAuthorities.getPermissions()
Returns the authorities that are granted to the user/sessionUserDetailsJson.getPermissions()
Modifier and TypeMethodDescriptionvoid
UserDetailsJson.addAuthorities
(GrantedAuthorityJson... theAuthority) void
UserDetailsJson.addAuthority
(GrantedAuthorityJson theAuthority) int
GrantedAuthorityJson.compareTo
(GrantedAuthorityJson theOther) Modifier and TypeMethodDescriptionUserDetailsJson.setAuthorities
(Collection<GrantedAuthorityJson> theAuthorities) -
Uses of GrantedAuthorityJson in ca.cdr.api.security.permission
Modifier and TypeMethodDescriptionstatic GrantedAuthorityJson
PermissionArgumentFormat.buildAuthority
(PermissionEnum thePermissionEnum, PermissionArgumentValue theArgumentValue) Typesafe authority builder.Modifier and TypeMethodDescriptionstatic boolean
PermissionArgumentParser.hasFilter
(GrantedAuthorityJson theGrantedAuthorityJson) Goofy check looking for the presence of filter expressions in an argument.PermissionArgumentParser.parse
(GrantedAuthorityJson theGrantedAuthority) Parse any authority generically.<T extends PermissionArgumentValue>
Optional<T>PermissionArgumentParser.parseForValue
(GrantedAuthorityJson theGrantedAuthority, Class<T> theArgumentValueType) Parse the argument string from the GrantedAuthorityJson into the declared argument value type.