if (node == null) { return false; } JASPIAuthenticationInfo authenticationInfo = new JASPIAuthenticationInfo(securityDomain); Map<String, LoginModuleStackHolder> holders = new HashMap<String, LoginModuleStackHolder>(); if(node.hasDefined(LOGIN_MODULE_STACK)){
@Override protected BaseSecurityInfo<Object> create(String name) { return new JASPIAuthenticationInfo(name); }
@Override protected BaseSecurityInfo<Object> create(String name) { return new JASPIAuthenticationInfo(name); }
public Object newChild(ApplicationPolicy aPolicy, UnmarshallingContext navigator, String namespaceUri, String localName, Attributes attrs) { Object child = null; if (trace) log.trace("newChild.ApplicationPolicy, localName: " + localName); String name = aPolicy.getName(); if ("authentication".equals(localName)) { child = new AuthenticationInfo(name); if (trace) log.trace("newChild.PolicyConfig, AuthenticationInfo: " + name); } else if ("authentication-jaspi".equals(localName)) { child = new JASPIAuthenticationInfo(name); if (trace) log.trace("newChild.PolicyConfig, AuthenticationInfo: " + name); } return child; }
@SuppressWarnings("unchecked") public Object instantiate() { if(isJASPIAuthentication == false) { info = new AuthenticationInfo(authName); } else { info = new JASPIAuthenticationInfo(authName); } info.add(moduleEntries); return info; }
public Object newChild(BaseAuthenticationInfo info, UnmarshallingContext navigator, String namespaceUri, String localName, Attributes attrs) { Object child = null; if (trace) log.trace("newChild.AuthenticationInfo, localName: " + localName); if ("authentication".equals(localName)) { child = new AuthenticationInfo(info.getName()); if (trace) log.trace("newChild.PolicyConfig, AuthenticationInfo: " + info.getName()); } else if ("authentication-jaspi".equals(localName)) { child = new JASPIAuthenticationInfo(info.getName()); if (trace) log.trace("newChild.PolicyConfig, AuthenticationInfo: " + info.getName()); } return child; }
JASPIAuthenticationInfo authInfo = new JASPIAuthenticationInfo(); Map<String, LoginModuleStackHolder> holders = new HashMap<String, LoginModuleStackHolder>(); while (xmlEventReader.hasNext())
JASPIAuthenticationInfo authInfo = new JASPIAuthenticationInfo(); Map<String, LoginModuleStackHolder> holders = new HashMap<String, LoginModuleStackHolder>(); while (reader.hasNext() && reader.nextTag() != END_ELEMENT)
if (node == null) { return false; } JASPIAuthenticationInfo authenticationInfo = new JASPIAuthenticationInfo(securityDomain); Map<String, LoginModuleStackHolder> holders = new HashMap<String, LoginModuleStackHolder>(); List<Property> stacks = node.get(LOGIN_MODULE_STACK).asPropertyList();
if (node == null) { return false; } JASPIAuthenticationInfo authenticationInfo = new JASPIAuthenticationInfo(securityDomain); Map<String, LoginModuleStackHolder> holders = new HashMap<String, LoginModuleStackHolder>(); List<Property> stacks = node.get(LOGIN_MODULE_STACK).asPropertyList();
if (node == null) { return false; } JASPIAuthenticationInfo authenticationInfo = new JASPIAuthenticationInfo(securityDomain); Map<String, LoginModuleStackHolder> holders = new HashMap<String, LoginModuleStackHolder>(); if(node.hasDefined(LOGIN_MODULE_STACK)){
JASPIAuthenticationInfo jaspiInfo = new JASPIAuthenticationInfo(authName); SecurityActions.addModules(jaspiInfo, authenticationModuleEntries); for (LoginModuleStackHolder holder : this.loginModuleStackMap.values())