Class BasicPasswordAuthenticationService
- java.lang.Object
-
- com.sun.enterprise.connectors.authentication.BasicPasswordAuthenticationService
-
- All Implemented Interfaces:
AuthenticationService
public class BasicPasswordAuthenticationService extends Object implements AuthenticationService
This class does the functionality of security mapping of the principal and userGroup to the backendPrincipal.- Author:
- Srikanth P
-
-
Constructor Summary
Constructors Constructor Description BasicPasswordAuthenticationService(String rarName, PoolInfo poolInfo)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityRoleMapperFactory
getSecurityRoleMapperFactory()
Principal
mapPrincipal(Principal callerPrincipal, Set principalSet)
Maps the principal to the backendPrincipal
-
-
-
Method Detail
-
mapPrincipal
public Principal mapPrincipal(Principal callerPrincipal, Set principalSet)
Maps the principal to the backendPrincipal- Specified by:
mapPrincipal
in interfaceAuthenticationService
- Parameters:
callerPrincipal
- Name of the principal to be mapped.principalSet
- principalSet- Returns:
- Mapped Backendprincipal
-
getSecurityRoleMapperFactory
public SecurityRoleMapperFactory getSecurityRoleMapperFactory()
-
-