ca.bc.gov.webade.user
Interface WebADECurrentUserPermissions

All Superinterfaces:
WebADEUserPermissions
All Known Implementing Classes:
DefaultWebADECurrentUserPermissions

public interface WebADECurrentUserPermissions
extends WebADEUserPermissions

User permissions for the current user has a couple of extra attributes related to the session environment.

Author:
jross

Method Summary
 boolean isUserAuthenticated()
          Returns a boolean indicating whether the current user has passed authentication to access the WebADE application.
 boolean isWebADEUser()
          Returns a boolean indicating whether the current user has been located in the WebADE system.
 
Methods inherited from interface ca.bc.gov.webade.user.WebADEUserPermissions
canPerformAction, getGovernmentOrganizations, getNonGovernmentOrganizations, getOrganizations, getRoles, getRolesByOrganization, getRolesNotSecuredByOrganization, getSelectedOrganization, getUserCredentials, isUserInOrganization, isUserInRole, setSelectedOrganization
 

Method Detail

isUserAuthenticated

public boolean isUserAuthenticated()
Returns a boolean indicating whether the current user has passed authentication to access the WebADE application.

Returns:
true if the user is authenticated.

isWebADEUser

public boolean isWebADEUser()
Returns a boolean indicating whether the current user has been located in the WebADE system. If the user has been authenticated but cannot be located within the WebADE itself, this value will be false.

Returns:
true if the user is a valid WebADE user.