Subject.Builder |
Subject.Builder.addAttribute(String key,
Object value) |
Add an attribute to this subject.
|
Subject.Builder |
Subject.Builder.addGrant(Grant grant) |
Add a grant to this subject.
|
Subject.Builder |
Subject.Builder.addPrincipal(Principal principal) |
Add a principal to the list of principals of this subject.
|
Subject.Builder |
Subject.Builder.addPrivateCredential(Class<?> className,
Object instance) |
Add a private credential to this subject.
|
Subject.Builder |
Subject.Builder.addPrivateCredential(Object instance) |
Add a private credential to this subject to be bound under its class.
|
Subject.Builder |
Subject.Builder.addPublicCredential(Class<?> className,
Object instance) |
Add a public credential to this subject.
|
Subject.Builder |
Subject.Builder.addPublicCredential(Object instance) |
Add a public credential to this subject to be bound under its class.
|
Subject.Builder |
Subject.Builder.attributes(AbacSupport attributes) |
Add all attributes to this subject.
|
static Subject.Builder |
Subject.builder() |
Creates a fluent API builder to build new instances of this class.
|
Subject.Builder |
Subject.Builder.principal(Principal principal) |
Main principal of this subject.
|
Subject.Builder |
Subject.Builder.update(Subject subject) |
Update this builder with all security information from the
subject provided.
|