本文整理了Java中org.apache.ws.security.WSUsernameTokenPrincipal.setCreatedTime()
方法的一些代码示例,展示了WSUsernameTokenPrincipal.setCreatedTime()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WSUsernameTokenPrincipal.setCreatedTime()
方法的具体详情如下:
包路径:org.apache.ws.security.WSUsernameTokenPrincipal
类名称:WSUsernameTokenPrincipal
方法名:setCreatedTime
[英]Set the WSUsernameToken created time for this WSUsernameTokenPrincipal
.
[中]设置此[$0$]的WSUsernameToken创建时间。
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.wss4j
/**
* Create a WSUsernameTokenPrincipal from this UsernameToken object
*/
public Principal createPrincipal() {
WSUsernameTokenPrincipal principal =
new WSUsernameTokenPrincipal(getName(), isHashed());
principal.setNonce(getNonce());
principal.setPassword(getPassword());
principal.setCreatedTime(getCreated());
return principal;
}
代码示例来源:origin: org.apache.ws.security/wss4j
/**
* Create a WSUsernameTokenPrincipal from this UsernameToken object
*/
public Principal createPrincipal() {
WSUsernameTokenPrincipal principal =
new WSUsernameTokenPrincipal(getName(), isHashed());
principal.setNonce(getNonce());
principal.setPassword(getPassword());
principal.setCreatedTime(getCreated());
return principal;
}
代码示例来源:origin: org.apache.ws.security/wss4j
principal.setNonce(token.getNonce());
principal.setPassword(token.getPassword());
principal.setCreatedTime(token.getCreated());
principal.setPasswordType(token.getPasswordType());
result.put(WSSecurityEngineResult.TAG_PRINCIPAL, principal);
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.wss4j
principal.setNonce(token.getNonce());
principal.setPassword(token.getPassword());
principal.setCreatedTime(token.getCreated());
principal.setPasswordType(token.getPasswordType());
result.put(WSSecurityEngineResult.TAG_PRINCIPAL, principal);
内容来源于网络,如有侵权,请联系作者删除!