Class EmbeddedCrowdServiceAccount
java.lang.Object
com.atlassian.crowd.embedded.atlassianuser.EmbeddedCrowdServiceAccount
- All Implemented Interfaces:
com.atlassian.crowd.embedded.api.service.ServiceAccount,com.atlassian.user.Entity,com.atlassian.user.User,Serializable,Principal
public class EmbeddedCrowdServiceAccount
extends Object
implements com.atlassian.crowd.embedded.api.service.ServiceAccount, com.atlassian.user.User
An implementation of both the Atlassian-User
User interface and the Crowd ServiceAccount interface, used to bridge the two APIs.
Where the contracts of the two APIs differ, like with equals(Object) behaviour, the Crowd API is followed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEmbeddedCrowdServiceAccount(com.atlassian.crowd.embedded.api.service.ServiceAccount serviceAccount) -
Method Summary
-
Constructor Details
-
EmbeddedCrowdServiceAccount
public EmbeddedCrowdServiceAccount(com.atlassian.crowd.embedded.api.service.ServiceAccount serviceAccount)
-
-
Method Details
-
getId
- Specified by:
getIdin interfacecom.atlassian.crowd.embedded.api.service.ServiceAccount
-
isActive
public boolean isActive()- Specified by:
isActivein interfacecom.atlassian.crowd.embedded.api.service.ServiceAccount
-
getDisplayName
- Specified by:
getDisplayNamein interfacecom.atlassian.crowd.embedded.api.service.ServiceAccount
-
getDescription
- Specified by:
getDescriptionin interfacecom.atlassian.crowd.embedded.api.service.ServiceAccount
-
getResourceRestrictions
public Map<com.atlassian.crowd.embedded.api.service.ResourceType,Set<com.atlassian.crowd.embedded.api.service.Resource>> getResourceRestrictions()- Specified by:
getResourceRestrictionsin interfacecom.atlassian.crowd.embedded.api.service.ServiceAccount
-
getFullName
- Specified by:
getFullNamein interfacecom.atlassian.user.User
-
getEmail
- Specified by:
getEmailin interfacecom.atlassian.user.User
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfacecom.atlassian.user.User
-
isServiceAccount
public boolean isServiceAccount()- Specified by:
isServiceAccountin interfacecom.atlassian.user.User
-
getName
-
equals
-
hashCode
public int hashCode()
-