org.apache.geronimo.security.bridge
Class PropertiesFilePrincipalMappingUserPasswordRealmBridge
java.lang.Object
org.apache.geronimo.security.bridge.AbstractRealmBridge
org.apache.geronimo.security.bridge.AbstractPrincipalMappingUserPasswordRealmBridge
org.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
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
PropertiesFilePrincipalMappingUserPasswordRealmBridge
public PropertiesFilePrincipalMappingUserPasswordRealmBridge()
PropertiesFilePrincipalMappingUserPasswordRealmBridge
public PropertiesFilePrincipalMappingUserPasswordRealmBridge(String targetRealm,
Class principalSourceType,
String principalTargetCallbackName,
Class userNameSourceType,
String userNameTargetCallbackName,
Class passwordSourceType,
URL propertyFileURL)
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.