Class OAuthServiceEntity
java.lang.Object
com.peterphi.usermanager.db.entity.OAuthServiceEntity
-
Constructor Summary
-
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.DateTime
getId()
getName()
getOwner()
getRoles()
org.joda.time.DateTime
boolean
void
setAccessKey
(String accessKey) void
setAccessKeySecondary
(String accessKeySecondary) void
setClientSecret
(String clientSecret) void
setCreated
(org.joda.time.DateTime created) void
setEnabled
(boolean enabled) void
setEndpoints
(String endpoints) void
void
void
setOwner
(UserEntity owner) void
setRequiredRoleName
(String requiredRoleName) void
setRoles
(Set<RoleEntity> roles) void
setUpdated
(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
-