Class AbstractIdentityController
java.lang.Object
org.gvsig.vcsgis.lib.repository.localdb.AbstractIdentityController
- All Implemented Interfaces:
VCSGisIdentityController
- Direct Known Subclasses:
IdentityControllerImpl,IdentityControllerLDAP,IdentityControllerLocaldbSHA512Pass,IdentityControllerOIDC
- Author:
- jjdelcerro
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.slf4j.Loggerprotected final VCSGisRepositoryLocaldb -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract intcheckToken(String authenticationToken, String userCode, SupportError error) org.apache.commons.lang3.tuple.Pair<String, VCSGisUser> getAuthenticationToken(String userid, String password, SupportError error) org.apache.commons.lang3.tuple.Pair<String, VCSGisUser> protected abstract VCSGisUserintisAuthenticated(String userCode, String authenticationToken, String operation, SupportError error) intisAuthorized(String userCode, String authenticationToken, String operation, SupportError error)
-
Field Details
-
LOGGER
protected static final org.slf4j.Logger LOGGER -
repository
-
-
Constructor Details
-
AbstractIdentityController
-
-
Method Details
-
isAuthenticated
public int isAuthenticated(String userCode, String authenticationToken, String operation, SupportError error) - Specified by:
isAuthenticatedin interfaceVCSGisIdentityController
-
isAuthorized
public int isAuthorized(String userCode, String authenticationToken, String operation, SupportError error) - Specified by:
isAuthorizedin interfaceVCSGisIdentityController
-
getAuthenticationToken
public org.apache.commons.lang3.tuple.Pair<String,VCSGisUser> getAuthenticationToken(String userid, String password, SupportError error) - Specified by:
getAuthenticationTokenin interfaceVCSGisIdentityController
-
getGuestAuthenticationToken
- Specified by:
getGuestAuthenticationTokenin interfaceVCSGisIdentityController
-
getUser
-
checkToken
-