Package com.soffid.iam.service.ejb
Interface AuthorizationService
-
public interface AuthorizationServiceEJB AuthorizationService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthorizationRolecreate(AuthorizationRole autoritzacio)voiddelete(AuthorizationRole autoritzacio)CollectionfindAuthorizations(String ambit, String descripcio, String codi)Collection<AuthorizationRole>getAuthorizationRoles(String autoritzacio)SoffidPrincipalgetCurrentPrincipal()Collection<AuthorizationRole>getDescriptionUserAuthorizations()Collection<AuthorizationRole>getDescriptionUserAuthorizations(String codiUsuari)ListgetScopeList()Collection<AuthorizationRole>getUserAuthorization(String codiAutoritzacio)Collection<AuthorizationRole>getUserAuthorization(String codiAutoritzacio, String codiUsuari)
-
-
-
Method Detail
-
getCurrentPrincipal
SoffidPrincipal getCurrentPrincipal() throws InternalErrorException
- Throws:
InternalErrorException
-
create
AuthorizationRole create(AuthorizationRole autoritzacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findAuthorizations
Collection findAuthorizations(String ambit, String descripcio, String codi) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getDescriptionUserAuthorizations
Collection<AuthorizationRole> getDescriptionUserAuthorizations() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getDescriptionUserAuthorizations
Collection<AuthorizationRole> getDescriptionUserAuthorizations(String codiUsuari) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getAuthorizationRoles
Collection<AuthorizationRole> getAuthorizationRoles(String autoritzacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getUserAuthorization
Collection<AuthorizationRole> getUserAuthorization(String codiAutoritzacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getUserAuthorization
Collection<AuthorizationRole> getUserAuthorization(String codiAutoritzacio, String codiUsuari) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getScopeList
List getScopeList() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(AuthorizationRole autoritzacio) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
-