org.apache.geronimo.security.bridge
Class PropertiesFilePrincipalMappingUserPasswordRealmBridge

java.lang.Object
  extended byorg.apache.geronimo.security.bridge.AbstractRealmBridge
      extended byorg.apache.geronimo.security.bridge.AbstractPrincipalMappingUserPasswordRealmBridge
          extended byorg.apache.geronimo.security.bridge.PropertiesFilePrincipalMappingUserPasswordRealmBridge
All Implemented Interfaces:
RealmBridge

public class PropertiesFilePrincipalMappingUserPasswordRealmBridge
extends AbstractPrincipalMappingUserPasswordRealmBridge

works off a property file with lines of the format: sourceprincipalname=targetprincipal:targetuser:targetpassword

all three can be mapped separately; the source for each key is from the appropriate principal class and possibly callback name.

Version:
$Revision: 1.6 $ $Date: 2004/07/12 06:07:50 $

Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Fields inherited from class org.apache.geronimo.security.bridge.AbstractPrincipalMappingUserPasswordRealmBridge
passwordMap, principalMap, userNameMap
 
Constructor Summary
PropertiesFilePrincipalMappingUserPasswordRealmBridge()
           
PropertiesFilePrincipalMappingUserPasswordRealmBridge(String targetRealm, Class principalSourceType, String principalTargetCallbackName, Class userNameSourceType, String userNameTargetCallbackName, Class passwordSourceType, URL propertyFileURL)
           
 
Method Summary
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 URL getPropertyFileURL()
           
 void setPropertyFileURL(URL propertyFileURL)
           
 
Methods inherited from class org.apache.geronimo.security.bridge.AbstractPrincipalMappingUserPasswordRealmBridge
getCallbackHandler, getPasswordSourceType, getPrincipalSourceType, getPrincipalTargetCallbackName, getUserNameSourceType, getUserNameTargetCallbackName, setPasswordSourceType, setPrincipalSourceType, setPrincipalTargetCallbackName, setUserNameSourceType, setUserNameTargetCallbackName
 
Methods inherited from class org.apache.geronimo.security.bridge.AbstractRealmBridge
getTargetRealm, mapSubject, setTargetRealm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

PropertiesFilePrincipalMappingUserPasswordRealmBridge

public PropertiesFilePrincipalMappingUserPasswordRealmBridge()

PropertiesFilePrincipalMappingUserPasswordRealmBridge

public PropertiesFilePrincipalMappingUserPasswordRealmBridge(String targetRealm,
                                                             Class principalSourceType,
                                                             String principalTargetCallbackName,
                                                             Class userNameSourceType,
                                                             String userNameTargetCallbackName,
                                                             Class passwordSourceType,
                                                             URL propertyFileURL)
Method Detail

getPropertyFileURL

public URL getPropertyFileURL()

setPropertyFileURL

public void setPropertyFileURL(URL propertyFileURL)
                        throws IOException
Throws:
IOException

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.