EntryInfopublic final class EntryInfo extends Object
Fields Summary |
---|
private final String | className | private final Map | properties | private List | regContexts |
Constructors Summary |
---|
EntryInfo(String className, Map properties)
if (className == null) {
throw new IllegalArgumentException(
"Class name for registration entry cannot be null");
}
this.className = className;
this.properties = properties;
| EntryInfo(String className, Map properties, List ctxs)
if (ctxs == null || ctxs.isEmpty()) {
throw new IllegalArgumentException(
"Registration entry must contain one or" +
"more registration contexts");
}
this.className = className;
this.properties = properties;
this.regContexts = ctxs;
| EntryInfo(String className, Map properties, javax.security.auth.message.config.AuthConfigFactory.RegistrationContext ctx)
this.className = className;
this.properties = properties;
if (ctx != null) {
RegistrationContext ctxImpl =
new RegistrationContextImpl(ctx.getMessageLayer(),
ctx.getAppContext(), ctx.getDescription(), ctx.isPersistent());
List<RegistrationContext> newList =
new ArrayList<RegistrationContext>(1);
newList.add(ctxImpl);
this.regContexts = newList;
}
|
|