|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xmlBlaster.authentication.plugins.DataHolder
public class DataHolder
Container to transport information to the isAuthorized() method.
Field Summary | |
---|---|
private MethodName |
action
|
private XmlBlasterException |
exceptionToThrow
|
private MsgUnit |
msgUnit
|
private java.lang.String |
notAuthorizedInfo
|
Constructor Summary | |
---|---|
DataHolder(MethodName action,
MsgUnit msgUnit)
|
Method Summary | |
---|---|
MethodName |
getAction()
|
Destination |
getDestination()
Convenience method to access PtP destination |
SessionName |
getDestinationSessionName()
Convenience method to access PtP destination |
XmlBlasterException |
getExceptionToThrow()
|
java.lang.String |
getKeyOid()
The key oid |
java.lang.String |
getKeyUrl()
The key url notation like "exact:hello", "xpath://key", "domain:sport" |
MsgUnit |
getMsgUnit()
|
java.lang.String |
getNotAuthorizedInfo()
|
QosData |
getQosData()
Convenience method to access QoS of MsgUnit |
void |
setExceptionToThrow(XmlBlasterException exceptionToThrow)
Allows a security plugin to throw another exception instead of ErrorCode.USER_SECURITY_AUTHORIZATION_NOTAUTHORIZED when returning false during isAuthorized() call |
void |
setNotAuthorizedInfo(java.lang.String notAuthorizedInfo)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final MethodName action
private final MsgUnit msgUnit
private transient java.lang.String notAuthorizedInfo
private transient XmlBlasterException exceptionToThrow
Constructor Detail |
---|
public DataHolder(MethodName action, MsgUnit msgUnit)
action
- May not be nullmsgUnit
- May not be nullMethod Detail |
---|
public MethodName getAction()
public MsgUnit getMsgUnit()
public java.lang.String getKeyOid()
public java.lang.String getKeyUrl()
public QosData getQosData()
public SessionName getDestinationSessionName()
public Destination getDestination()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getNotAuthorizedInfo()
public void setNotAuthorizedInfo(java.lang.String notAuthorizedInfo)
public XmlBlasterException getExceptionToThrow()
public void setExceptionToThrow(XmlBlasterException exceptionToThrow)
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |