|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.core.security.DefaultCallback
public class DefaultCallback

A default implementation of the callback security SPI.
| Constructor Summary | |
|---|---|
DefaultCallback()
Constructor |
|
DefaultCallback(String file)
Constructor |
|
| Method Summary | |
|---|---|
void |
addGroupMapping(String from,
String to)
Add a group mapping |
void |
addPrincipalMapping(String from,
String to)
Add a principal mapping |
String[] |
getDefaultGroups()
|
Principal |
getDefaultPrincipal()
|
String |
getDomain()
|
boolean |
isMappingRequired()
|
String |
mapGroup(String name)
|
Principal |
mapPrincipal(String name)
|
void |
setDefaultGroups(String[] value)
Set the default groups |
void |
setDefaultPrincipal(Principal value)
Set the default principal |
void |
setDomain(String v)
Set the domain |
void |
setFile(String value)
Set the file name |
void |
setMappingRequired(boolean value)
Set the user mapping required |
void |
start()
|
void |
stop()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultCallback()
public DefaultCallback(String file)
file - The file| Method Detail |
|---|
public String getDomain()
getDomain in interface org.jboss.jca.core.spi.security.Callbackpublic void setDomain(String v)
v - The valuepublic boolean isMappingRequired()
isMappingRequired in interface org.jboss.jca.core.spi.security.Callbackpublic void setMappingRequired(boolean value)
value - The valuepublic Principal getDefaultPrincipal()
getDefaultPrincipal in interface org.jboss.jca.core.spi.security.Callbackpublic void setDefaultPrincipal(Principal value)
value - The valuepublic String[] getDefaultGroups()
getDefaultGroups in interface org.jboss.jca.core.spi.security.Callbackpublic void setDefaultGroups(String[] value)
value - The valuepublic Principal mapPrincipal(String name)
mapPrincipal in interface org.jboss.jca.core.spi.security.Callback
public void addPrincipalMapping(String from,
String to)
from - The from nameto - The to namepublic String mapGroup(String name)
mapGroup in interface org.jboss.jca.core.spi.security.Callback
public void addGroupMapping(String from,
String to)
from - The from nameto - The to namepublic void setFile(String value)
value - The value
public void start()
throws Throwable
start in interface org.jboss.jca.core.spi.security.CallbackThrowable
public void stop()
throws Throwable
stop in interface org.jboss.jca.core.spi.security.CallbackThrowablepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||