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.

Version:
$Rev: $ $Date: $

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

Method Detail

getRealmName

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

Returns:
the realm name of the auto map assistant

getDefaultPrincipal

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

Returns:
the default principal

getAutoMapPrincipalClasses

public 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 © 2005 Apache Software Foundation. All Rights Reserved.