Package | Description |
---|---|
org.seedstack.seed.security |
Provides classes for securing an application.
|
org.seedstack.seed.security.principals |
Modifier and Type | Method and Description |
---|---|
SimplePrincipalProvider |
SecuritySupport.getSimplePrincipalByName(String principalName)
Gets the SimplePrincipalProvider which name is provided.
|
Modifier and Type | Method and Description |
---|---|
Collection<SimplePrincipalProvider> |
SecuritySupport.getSimplePrincipals()
Gets the user's SimplePrincipalProviders.
A SimplePrincipalProvider is a name/value principal. |
Modifier and Type | Method and Description |
---|---|
static SimplePrincipalProvider |
Principals.firstNamePrincipal(String firstName)
Simple principal to store the firstName as a string
|
static SimplePrincipalProvider |
Principals.fullNamePrincipal(String fullName)
Simple principal to store the fullName as a string
|
static SimplePrincipalProvider |
Principals.getSimplePrincipalByName(Collection<PrincipalProvider<?>> principalProviders,
String principalName)
Gives the simple principal with the given name from the given collection of principals
|
static SimplePrincipalProvider |
Principals.identityPrincipal(String identity)
Simple principal to store the identity as a string
|
static SimplePrincipalProvider |
Principals.lastNamePrincipal(String lastName)
Simple principal to store the lastName as a string
|
static SimplePrincipalProvider |
Principals.localePrincipal(String locale)
Simple principal to store the locale as a string
|
Modifier and Type | Method and Description |
---|---|
static Collection<SimplePrincipalProvider> |
Principals.getSimplePrincipals(Collection<PrincipalProvider<?>> principalProviders)
Extracts the simple principals of the collection of principals
|
Copyright © 2013-2018–2019 SeedStack. All rights reserved.