Class PropertyFileClaimsHandler

java.lang.Object
org.codice.ddf.security.sts.claims.property.PropertyFileClaimsHandler
All Implemented Interfaces:
ddf.security.claims.ClaimsHandler

public class PropertyFileClaimsHandler extends Object implements ddf.security.claims.ClaimsHandler
  • Constructor Details

    • PropertyFileClaimsHandler

      public PropertyFileClaimsHandler()
  • Method Details

    • retrieveClaims

      public ddf.security.claims.ClaimsCollection retrieveClaims(ddf.security.claims.ClaimsParameters parameters)
      Specified by:
      retrieveClaims in interface ddf.security.claims.ClaimsHandler
    • getUser

      public String getUser(Principal principal)
      Obtains the user name from the principal.
      Parameters:
      principal - Describing the current user that should be used for retrieving claims.
      Returns:
      the user name if the principal has one, null if no name is specified or if principal is null.
    • setPropertyFileLocation

      public void setPropertyFileLocation(String propertyFileLocation)
    • setRoleClaimType

      public void setRoleClaimType(String roleClaimType)
    • setIdClaimType

      public void setIdClaimType(String idClaimType)