Class NotPortalAccountException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.core.AuthenticationException
org.springframework.security.authentication.AccountStatusException
com.avoka.fc.core.security.NotPortalAccountException
All Implemented Interfaces:
Serializable

public class NotPortalAccountException extends org.springframework.security.authentication.AccountStatusException
Provides an exception used to denote an authenticated user account is not associated with the portal.
See Also:
  • Constructor Details

    • NotPortalAccountException

      public NotPortalAccountException(UserAccount userAccount, Portal portal)
      Create a NotPortalAccountException with the given authenticated user account and unassociated portal.
      Parameters:
      userAccount - the authenticated user account
      portal - the non associated portal
  • Method Details

    • getUserAccount

      public UserAccount getUserAccount()
      Return the authenticated local user account.
      Returns:
      the authenticated local user account
    • getPortal

      public Portal getPortal()
      Return the Portal the user account is not associated with.
      Returns:
      the Portal the user account is not associated with