|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.rs.security.oauth2.common.Client
public class Client
Represents a registered third-party Client application
Constructor Summary | |
---|---|
Client()
|
|
Client(String clientId,
String clientSecret,
boolean isConfidential)
|
|
Client(String clientId,
String clientSecret,
boolean isConfidential,
String applicationName,
String applicationWebUri)
|
Method Summary | |
---|---|
List<String> |
getAllowedGrantTypes()
Gets the list of access token grant types this client can use to obtain the access tokens. |
String |
getApplicationCertificate()
|
String |
getApplicationDescription()
Gets the description of the third-party application. |
String |
getApplicationLogoUri()
Get the URI pointing to a logo image of the client application |
String |
getApplicationName()
Gets the name of the third-party application this client represents |
String |
getApplicationWebUri()
Gets the public URI of the third-party application. |
String |
getClientId()
Get the client registration id |
String |
getClientSecret()
Get the client secret |
Map<String,String> |
getProperties()
Get the list of additional client properties |
List<String> |
getRedirectUris()
Gets a list of URIs the AuthorizationService may return the authorization code to |
List<String> |
getRegisteredAudiences()
|
List<String> |
getRegisteredScopes()
Get the list of registered scopes |
UserSubject |
getSubject()
Gets the UserSubject representing this Client
authentication |
boolean |
isConfidential()
Gets the confidentiality status of this client application. |
void |
setAllowedGrantTypes(List<String> allowedGrantTypes)
Sets the list of access token grant types this client can use to obtain the access tokens. |
void |
setApplicationCertificate(String applicationCertificate)
|
void |
setApplicationDescription(String applicationDescription)
Sets the description of the third-party application. |
void |
setApplicationLogoUri(String logoPath)
Sets the URI pointing to a logo image of the client application |
void |
setApplicationName(String applicationName)
Sets the name of the third-party application this client represents |
void |
setApplicationWebUri(String applicationWebUri)
Sets the public URI of the third-party application. |
void |
setClientId(String id)
|
void |
setClientSecret(String id)
|
void |
setConfidential(boolean isConf)
Sets the confidentiality status of this client application. |
void |
setProperties(Map<String,String> properties)
Set the list of additional client properties |
void |
setRedirectUris(List<String> redirectUris)
Sets a list of URIs the AuthorizationService may return the authorization code to. |
void |
setRegisteredAudiences(List<String> registeredAudiences)
Set the list of registered audiences |
void |
setRegisteredScopes(List<String> registeredScopes)
Set the list of registered scopes. |
void |
setSubject(UserSubject subject)
Sets the UserSubject representing this Client
authentication, may be setup during the registration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Client()
public Client(String clientId, String clientSecret, boolean isConfidential)
public Client(String clientId, String clientSecret, boolean isConfidential, String applicationName, String applicationWebUri)
Method Detail |
---|
public String getClientId()
public void setClientId(String id)
public String getClientSecret()
public void setClientSecret(String id)
public String getApplicationName()
public void setApplicationName(String applicationName)
applicationName
- the namepublic String getApplicationWebUri()
public void setApplicationWebUri(String applicationWebUri)
applicationWebUri
- the application URIpublic void setApplicationDescription(String applicationDescription)
applicationDescription
- the descriptionpublic String getApplicationDescription()
public void setApplicationLogoUri(String logoPath)
logoPath
- the logo URIpublic String getApplicationLogoUri()
public void setConfidential(boolean isConf)
isConf
- true if the client is confidentialpublic boolean isConfidential()
public void setRedirectUris(List<String> redirectUris)
redirectUris
- the redirect urispublic List<String> getRedirectUris()
public void setAllowedGrantTypes(List<String> allowedGrantTypes)
allowedGrantTypes
- the list of grant typespublic List<String> getAllowedGrantTypes()
public void setSubject(UserSubject subject)
UserSubject
representing this Client
authentication, may be setup during the registration.
subject
- the user subjectpublic UserSubject getSubject()
UserSubject
representing this Client
authentication
public Map<String,String> getProperties()
public void setProperties(Map<String,String> properties)
properties
- the propertiespublic List<String> getRegisteredScopes()
public void setRegisteredScopes(List<String> registeredScopes)
registeredScopes
- the scopespublic List<String> getRegisteredAudiences()
public void setRegisteredAudiences(List<String> registeredAudiences)
registeredAudiences
- audiencespublic String getApplicationCertificate()
public void setApplicationCertificate(String applicationCertificate)
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |