public class PropertyFileClaimsHandler extends Object implements org.apache.cxf.sts.claims.ClaimsHandler, org.apache.cxf.sts.token.realm.RealmSupport
Constructor and Description |
---|
PropertyFileClaimsHandler() |
Modifier and Type | Method and Description |
---|---|
String |
getHandlerRealm() |
String |
getIdClaimType() |
String |
getPropertyFileLocation() |
String |
getRoleClaimType() |
List<URI> |
getSupportedClaimTypes() |
List<String> |
getSupportedRealms() |
String |
getUser(Principal principal)
Obtains the user name from the principal.
|
org.apache.cxf.sts.claims.ProcessedClaimCollection |
retrieveClaimValues(org.apache.cxf.rt.security.claims.ClaimCollection claims,
org.apache.cxf.sts.claims.ClaimsParameters parameters) |
void |
setIdClaimType(String idClaimType) |
void |
setPropertyFileLocation(String propertyFileLocation) |
void |
setRealm(String realm) |
void |
setRoleClaimType(String roleClaimType) |
public List<URI> getSupportedClaimTypes()
getSupportedClaimTypes
in interface org.apache.cxf.sts.claims.ClaimsHandler
public org.apache.cxf.sts.claims.ProcessedClaimCollection retrieveClaimValues(org.apache.cxf.rt.security.claims.ClaimCollection claims, org.apache.cxf.sts.claims.ClaimsParameters parameters)
retrieveClaimValues
in interface org.apache.cxf.sts.claims.ClaimsHandler
public String getUser(Principal principal)
principal
- Describing the current user that should be used for retrieving claims.public List<String> getSupportedRealms()
getSupportedRealms
in interface org.apache.cxf.sts.token.realm.RealmSupport
public String getHandlerRealm()
getHandlerRealm
in interface org.apache.cxf.sts.token.realm.RealmSupport
public String getPropertyFileLocation()
public void setPropertyFileLocation(String propertyFileLocation)
public String getRoleClaimType()
public void setRoleClaimType(String roleClaimType)
public String getIdClaimType()
public void setIdClaimType(String idClaimType)
public void setRealm(String realm)
This work is licensed under a Creative Commons Attribution 4.0 International License.