Uses of Enum Class
net.solarnetwork.central.security.SecurityTokenType
Packages that use SecurityTokenType
-
Uses of SecurityTokenType in net.solarnetwork.central.security
Methods in net.solarnetwork.central.security that return SecurityTokenTypeModifier and TypeMethodDescriptionAuthenticatedToken.getTokenType()SecurityToken.getTokenType()Get the type of token.static SecurityTokenTypeReturns the enum constant of this class with the specified name.static SecurityTokenType[]SecurityTokenType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.solarnetwork.central.security with parameters of type SecurityTokenTypeModifier and TypeMethodDescriptionstatic SecurityTokenSecurityUtils.becomeToken(String tokenId, SecurityTokenType type, Long userId, SecurityPolicy policy) Become an authenticated token with aRUN_AS_ROLE_USERauthority.Constructors in net.solarnetwork.central.security with parameters of type SecurityTokenTypeModifierConstructorDescriptionAuthenticatedToken(org.springframework.security.core.userdetails.UserDetails user, SecurityTokenType tokenType, Long userId, SecurityPolicy policy) Construct with values.