Methods Summary |
---|
public java.util.List | getExtElements()
return extElements;
|
public java.net.URI | getIdentifier()
return identifier;
|
public java.lang.String | getInstance()
return instance;
|
public java.lang.Object | getTokenValue()
try {
final DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
dbf.setNamespaceAware(true);
final DocumentBuilder builder = dbf.newDocumentBuilder();
final Document doc = builder.newDocument();
final javax.xml.bind.Marshaller marshaller = WSTrustElementFactory.getContext().createMarshaller();
final JAXBElement<SecurityContextTokenType> tElement = (new ObjectFactory()).createSecurityContextToken((SecurityContextTokenType)this);
marshaller.marshal(tElement, doc);
return doc.getDocumentElement();
} catch (Exception ex) {
log.log(Level.SEVERE,
LogStringsMessages.WSSC_0019_ERR_TOKEN_VALUE(), ex);
throw new RuntimeException(LogStringsMessages.WSSC_0019_ERR_TOKEN_VALUE(), ex);
}
|
public java.lang.String | getType()
return WSSCConstants.SECURITY_CONTEXT_TOKEN;
|
public java.lang.String | getWsuId()
return getId();
|
public final void | setIdentifier(java.net.URI identifier)
this.identifier = identifier;
final JAXBElement<String> iElement =
(new ObjectFactory()).createIdentifier(identifier.toString());
getAny().add(iElement);
if (log.isLoggable(Level.FINE)) {
log.log(Level.FINE,
LogStringsMessages.WSSC_1004_SECCTX_TOKEN_ID_VALUE(identifier.toString()));
}
|
public final void | setInstance(java.lang.String instance)
this.instance = instance;
final JAXBElement<String> iElement =
(new ObjectFactory()).createInstance(instance);
getAny().add(iElement);
|
public final void | setWsuId(java.lang.String wsuId)
setId(wsuId);
if (log.isLoggable(Level.FINE)) {
log.log(Level.FINE,
LogStringsMessages.WSSC_1005_SECCTX_TOKEN_WSUID_VALUE(wsuId));
}
|