@Entity public class ApprovedSite extends Object
| Constructor and Description |
|---|
ApprovedSite()
Empty constructor
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getAccessDate() |
Set<String> |
getAllowedScopes() |
Set<OAuth2AccessTokenEntity> |
getApprovedAccessTokens() |
String |
getClientId() |
Date |
getCreationDate() |
Long |
getId() |
Boolean |
getIsWhitelisted()
Does this AP entry correspond to a WS?
|
Date |
getTimeoutDate() |
String |
getUserId() |
WhitelistedSite |
getWhitelistedSite() |
boolean |
isExpired()
Has this approval expired?
|
void |
setAccessDate(Date accessDate) |
void |
setAllowedScopes(Set<String> allowedScopes) |
void |
setApprovedAccessTokens(Set<OAuth2AccessTokenEntity> approvedAccessTokens) |
void |
setClientId(String clientId) |
void |
setCreationDate(Date creationDate) |
void |
setId(Long id) |
void |
setTimeoutDate(Date timeoutDate) |
void |
setUserId(String userId) |
void |
setWhitelistedSite(WhitelistedSite whitelistedSite) |
public ApprovedSite()
public String getClientId()
public void setClientId(String clientId)
clientId - the clientId to setpublic Date getCreationDate()
public void setCreationDate(Date creationDate)
creationDate - the creationDate to setpublic Date getAccessDate()
public void setAccessDate(Date accessDate)
accessDate - the accessDate to setpublic Set<String> getAllowedScopes()
public void setAllowedScopes(Set<String> allowedScopes)
allowedScopes - the allowedScopes to setpublic Date getTimeoutDate()
public void setTimeoutDate(Date timeoutDate)
timeoutDate - the timeoutDate to setpublic Boolean getIsWhitelisted()
public WhitelistedSite getWhitelistedSite()
public void setWhitelistedSite(WhitelistedSite whitelistedSite)
public boolean isExpired()
public Set<OAuth2AccessTokenEntity> getApprovedAccessTokens()
public void setApprovedAccessTokens(Set<OAuth2AccessTokenEntity> approvedAccessTokens)
approvedAccessTokens - the approvedAccessTokens to setCopyright © 2015. All Rights Reserved.