Class OAuthServiceEntity
java.lang.Object
com.peterphi.usermanager.db.entity.OAuthServiceEntity
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAccess key, allows a User Manager Service to authenticate easily against another service.Access key (secondary key - due for retirement, the next rotation will remove this key, put the primary key in its place and generate a new primary key), allows a User Manager Service to authenticate easily against another service.org.joda.time.DateTimegetId()getName()getOwner()getRoles()org.joda.time.DateTimebooleanvoidsetAccessKey(String accessKey) voidsetAccessKeySecondary(String accessKeySecondary) voidsetClientSecret(String clientSecret) voidsetCreated(org.joda.time.DateTime created) voidsetEnabled(boolean enabled) voidsetEndpoints(String endpoints) voidvoidvoidsetOwner(UserEntity owner) voidsetRequiredRoleName(String requiredRoleName) voidsetRoles(Set<RoleEntity> roles) voidsetUpdated(org.joda.time.DateTime updated)
-
Constructor Details
-
OAuthServiceEntity
public OAuthServiceEntity()
-
-
Method Details
-
getId
-
getOwner
-
getName
-
getEndpoints
-
getClientSecret
-
getRequiredRoleName
-
getRoles
-
getAccessKey
Access key, allows a User Manager Service to authenticate easily against another service.- Returns:
-
getAccessKeySecondary
Access key (secondary key - due for retirement, the next rotation will remove this key, put the primary key in its place and generate a new primary key), allows a User Manager Service to authenticate easily against another service.- Returns:
-
isEnabled
public boolean isEnabled() -
getCreated
public org.joda.time.DateTime getCreated() -
getUpdated
public org.joda.time.DateTime getUpdated() -
setId
-
setOwner
-
setName
-
setEndpoints
-
setClientSecret
-
setRequiredRoleName
-
setRoles
-
setAccessKey
-
setAccessKeySecondary
-
setEnabled
public void setEnabled(boolean enabled) -
setCreated
public void setCreated(org.joda.time.DateTime created) -
setUpdated
public void setUpdated(org.joda.time.DateTime updated) -
endpointsAsList
-