org.apache.geronimo.security.realm
Interface AutoMapAssistant


public interface AutoMapAssistant

Provides a way for security realms to provide reasonable defaults for principal to role mapping.

This interface is used by the deployment code to automatically map principals to roles.


Method Summary
 MapOfSets getAutoMapPrincipalClasses()
          Provides a set of principal class names to be used when automatically mapping principals to roles.
 PrincipalInfo getDefaultPrincipal()
          Provides the default principal to be used when an unauthenticated subject uses a container.
 String getRealmName()
          Provides the realm name of the auto map assistant.
 

Method Detail

getRealmName

String getRealmName()
Provides the realm name of the auto map assistant.

Returns:
the realm name of the auto map assistant

getDefaultPrincipal

PrincipalInfo getDefaultPrincipal()
Provides the default principal to be used when an unauthenticated subject uses a container.

Returns:
the default principal

getAutoMapPrincipalClasses

MapOfSets getAutoMapPrincipalClasses()
Provides a set of principal class names to be used when automatically mapping principals to roles.

Returns:
a map of logindomain name to set of principal class names


Copyright © 2006 Apache Software Foundation. All Rights Reserved.