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: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $

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

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

Returns:
the realm name of the auto map assistant

getDefaultPrincipal

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