Uses of Class
net.solarnetwork.central.security.SecurityException
Packages that use SecurityException
-
Uses of SecurityException in net.solarnetwork.central.security
Subclasses of SecurityException in net.solarnetwork.central.securityModifier and TypeClassDescriptionclassException thrown when authorization to some resource fails.Methods in net.solarnetwork.central.security that throw SecurityExceptionModifier and TypeMethodDescriptionstatic LongSecurityUtils.getActorUserId(org.springframework.security.core.Authentication auth) Get the ID of the user associated with a given authentication.static SecurityActorSecurityUtils.getCurrentActor()Get the currentSecurityActor.static LongSecurityUtils.getCurrentActorUserId()Get the currentSecurityActor'suserId.static SecurityNodeSecurityUtils.getCurrentNode()Get the currentSecurityNode.static SecurityTokenSecurityUtils.getCurrentToken()Get the currentSecurityToken.static SecurityUserSecurityUtils.getCurrentUser()Get the currentSecurityUser.static SecurityNodeSecurityUtils.getNode(org.springframework.security.core.Authentication auth) Get aSecurityNodefor a given authentication.static SecurityTokenSecurityUtils.getToken(org.springframework.security.core.Authentication auth) Get aSecurityTokenfor a given authentication.static SecurityUserSecurityUtils.getUser(org.springframework.security.core.Authentication auth) Get aSecurityUserfor a given authentication. -
Uses of SecurityException in net.solarnetwork.central.web.support
Methods in net.solarnetwork.central.web.support with parameters of type SecurityExceptionModifier and TypeMethodDescriptionnet.solarnetwork.domain.Result<?> WebServiceGlobalControllerSupport.handleSecurityException(SecurityException e, org.springframework.web.context.request.WebRequest request) Handle aSecurityException.