本文整理了Java中org.wildfly.security.authz.Attributes.asReadOnly()
方法的一些代码示例,展示了Attributes.asReadOnly()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Attributes.asReadOnly()
方法的具体详情如下:
包路径:org.wildfly.security.authz.Attributes
类名称:Attributes
方法名:asReadOnly
[英]Returns a read-only instance of this instance.
[中]返回此实例的只读实例。
代码示例来源:origin: wildfly/wildfly
/**
* Get the attributes associated with this identity.
*
* @return a read-only instance of {@link Attributes} with all attributes associated with this identity
*/
public Attributes getAttributes() {
return this.authorizationIdentity.getAttributes().asReadOnly();
}
代码示例来源:origin: wildfly/wildfly
@Override
public Attributes getAttributes() throws RealmUnavailableException {
final LoadedIdentity loadedIdentity = loadIdentity(true, false);
if (loadedIdentity == null) {
throw ElytronMessages.log.fileSystemRealmNotFound(name);
}
return loadedIdentity.getAttributes().asReadOnly();
}
代码示例来源:origin: org.wildfly.security/wildfly-elytron-auth-server
/**
* Get the attributes associated with this identity.
*
* @return a read-only instance of {@link Attributes} with all attributes associated with this identity
*/
public Attributes getAttributes() {
return this.authorizationIdentity.getAttributes().asReadOnly();
}
代码示例来源:origin: org.wildfly.security/wildfly-elytron
/**
* Get the attributes associated with this identity.
*
* @return a read-only instance of {@link Attributes} with all attributes associated with this identity
*/
public Attributes getAttributes() {
return this.authorizationIdentity.getAttributes().asReadOnly();
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
/**
* Get the attributes associated with this identity.
*
* @return a read-only instance of {@link Attributes} with all attributes associated with this identity
*/
public Attributes getAttributes() {
return this.authorizationIdentity.getAttributes().asReadOnly();
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
@Override
public Attributes getAttributes() throws RealmUnavailableException {
final LoadedIdentity loadedIdentity = loadIdentity(true, false);
if (loadedIdentity == null) {
throw ElytronMessages.log.fileSystemRealmNotFound(name);
}
return loadedIdentity.getAttributes().asReadOnly();
}
代码示例来源:origin: org.wildfly.security/wildfly-elytron
@Override
public Attributes getAttributes() throws RealmUnavailableException {
final LoadedIdentity loadedIdentity = loadIdentity(true, false);
if (loadedIdentity == null) {
throw ElytronMessages.log.fileSystemRealmNotFound(name);
}
return loadedIdentity.getAttributes().asReadOnly();
}
代码示例来源:origin: org.wildfly.security/wildfly-elytron-realm
@Override
public Attributes getAttributes() throws RealmUnavailableException {
final LoadedIdentity loadedIdentity = loadIdentity(true, false);
if (loadedIdentity == null) {
throw ElytronMessages.log.fileSystemRealmNotFound(name);
}
return loadedIdentity.getAttributes().asReadOnly();
}
内容来源于网络,如有侵权,请联系作者删除!