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 SecurityRoleMapperFactorygetSecurityRoleMapperFactory()PrincipalmapPrincipal(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:
mapPrincipalin interfaceAuthenticationService- Parameters:
callerPrincipal- Name of the principal to be mapped.principalSet- principalSet- Returns:
- Mapped Backendprincipal
-
getSecurityRoleMapperFactory
public SecurityRoleMapperFactory getSecurityRoleMapperFactory()
-
-