Class Client
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.IdentifiableImpl
-
- edu.uiuc.ncsa.security.storage.monitored.Monitored
-
- org.oa4mp.delegation.common.storage.clients.BaseClient
-
- org.oa4mp.delegation.common.storage.clients.Client
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.DateComparable
,edu.uiuc.ncsa.security.core.Identifiable
,Serializable
,Cloneable
public class Client extends BaseClient
Models a client.Created by Jeff Gaynor
on Mar 15, 2011 at 5:09:20 PM- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Client(edu.uiuc.ncsa.security.core.Identifier identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Client
clone()
boolean
equals(Object obj)
String
getErrorUri()
String
getHomeUri()
Collection<String>
getScopes()
Collection<String>
getServiceClientUsers()
boolean
hasServiceClientUsers()
Mostly this is for use by converters so we know when we are setting this to a default.boolean
isProxyLimited()
boolean
isServiceClient()
A service client is one that is permitted to use the flow outlined in RFC 7523, viz., it may request authorization grants directly from the token endpoint without any authorization.protected void
populateClone(BaseClient client)
void
setErrorUri(String errorUri)
void
setHomeUri(String homeUri)
void
setProxyLimited(boolean proxyLimited)
void
setScopes(Collection<String> scopes)
void
setServiceClient(boolean serviceClient)
void
setServiceClientUsers(Collection<String> serviceClientUsers)
String
toString()
-
Methods inherited from class org.oa4mp.delegation.common.storage.clients.BaseClient
getCreationTS, getEmail, getJWKS, getJwksURI, getLastModifiedTS, getName, getSecret, hasJWKS, hasJWKSURI, isDebugOn, setCreationTS, setDebugOn, setEmail, setJWKS, setJwksURI, setLastModifiedTS, setName, setSecret
-
Methods inherited from class edu.uiuc.ncsa.security.storage.monitored.Monitored
getLastAccessed, setLastAccessed
-
-
-
-
Method Detail
-
clone
public Client clone()
- Specified by:
clone
in interfaceedu.uiuc.ncsa.security.core.Identifiable
- Overrides:
clone
in classBaseClient
-
populateClone
protected void populateClone(BaseClient client)
- Overrides:
populateClone
in classBaseClient
-
isProxyLimited
public boolean isProxyLimited()
-
setProxyLimited
public void setProxyLimited(boolean proxyLimited)
-
getHomeUri
public String getHomeUri()
-
setHomeUri
public void setHomeUri(String homeUri)
-
getErrorUri
public String getErrorUri()
-
setErrorUri
public void setErrorUri(String errorUri)
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classBaseClient
-
isServiceClient
public boolean isServiceClient()
A service client is one that is permitted to use the flow outlined in RFC 7523, viz., it may request authorization grants directly from the token endpoint without any authorization. This is typically used by a service and has a dedicated single "user."- Returns:
-
setServiceClient
public void setServiceClient(boolean serviceClient)
-
getServiceClientUsers
public Collection<String> getServiceClientUsers()
-
setServiceClientUsers
public void setServiceClientUsers(Collection<String> serviceClientUsers)
-
hasServiceClientUsers
public boolean hasServiceClientUsers()
Mostly this is for use by converters so we know when we are setting this to a default.- Returns:
-
toString
public String toString()
- Overrides:
toString
in classBaseClient
-
getScopes
public Collection<String> getScopes()
-
setScopes
public void setScopes(Collection<String> scopes)
-
-