Package com.soffid.iam.service.ejb
Interface AuthorizationService
-
public interface AuthorizationService
EJB AuthorizationService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthorizationRole
create(AuthorizationRole autoritzacio)
void
delete(AuthorizationRole autoritzacio)
Collection
findAuthorizations(String ambit, String descripcio, String codi)
Collection<AuthorizationRole>
getAuthorizationRoles(String autoritzacio)
SoffidPrincipal
getCurrentPrincipal()
Collection<AuthorizationRole>
getDescriptionUserAuthorizations()
Collection<AuthorizationRole>
getDescriptionUserAuthorizations(String codiUsuari)
List
getScopeList()
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
-
-