@Entity public class Client extends AbstractEntity
An application making protected resource requests on behalf of the resource owner and with its
authorization. The term client does not imply any particular implementation characteristics (e.g. whether
the application executes on a server, a desktop, or other devices).
| Constructor and Description |
|---|
Client() |
equals, getCreationDate, getId, getModificationDate, hashCode, setId, toString, updateTimeStamps, violationpublic String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public String getContactName()
public void setContactName(String contactName)
public String getContactEmail()
public void setContactEmail(String contactEmail)
public ResourceServer getResourceServer()
public void setResourceServer(ResourceServer resourceServer)
resourceServer - the resourceServer to setpublic String getThumbNailUrl()
public void setThumbNailUrl(String thumbNailUrl)
thumbNailUrl - the thumbNailUrl to setpublic boolean isSkipConsent()
public void setSkipConsent(boolean skipConsent)
skipConsent - the skipConsent to setpublic String getClientId()
public void setClientId(String clientId)
clientId - the clientId to setpublic String getSecret()
public void setSecret(String secret)
secret - the secret to setpublic void setRedirectUris(List<String> redirectUris)
redirectUris - the redirectUris to use.public boolean isUseRefreshTokens()
public void setUseRefreshTokens(boolean useRefreshTokens)
useRefreshTokens - the useRefreshTokens to setpublic long getExpireDuration()
public void setExpireDuration(long expireDuration)
expireDuration - the expireDuration to setpublic boolean isExactMatch(UserPassCredentials credentials)
public void setAttributes(Map<String,String> attributes)
attributes - the attributes to setpublic boolean isAllowedImplicitGrant()
public void setAllowedImplicitGrant(boolean allowedImplicitGrant)
AllowedImplicitGrant - the AllowedImplicitGrant to setpublic boolean isIncludePrincipal()
public void setIncludePrincipal(boolean includePrincipal)
public boolean isAllowedClientCredentials()
public void setAllowedClientCredentials(boolean allowedClientCredentials)
public boolean validate(javax.validation.ConstraintValidatorContext context)
AbstractEntityAbstractEntity. Can
be used prior to saving/ updating the AbstractEntityvalidate in class AbstractEntitycontext - the ConstraintValidatorContextCopyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.