/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/ |
H A D | RunAsIdentityDescriptor.java | 46 * XML element as well as the runtime principal to be used. 54 private String principal=""; field in class:RunAsIdentityDescriptor 74 public void setPrincipal(String principal) argument 76 this.principal = principal; 81 return principal;
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/ |
H A D | PrincipalNode.java | 50 * This mode handles the principal definition in the runtine DDs 57 PrincipalImpl principal=null; field in class:PrincipalNode 63 return principal; 75 principal = new PrincipalImpl(value); 88 Node principal = appendChild(parent, nodeName); 89 appendTextChild(principal, RuntimeTagNames.NAME, descriptor.getName()); 90 return principal;
|
H A D | GroupNode.java | 92 Element principal = appendChild(parent, nodeName); 93 setAttribute(principal, RuntimeTagNames.NAME, descriptor.getName()); 94 return principal;
|
/glassfish-3.1.2/security/javax.security.auth.message/src/main/java/javax/security/auth/message/callback/ |
H A D | CallerPrincipalCallback.java | 48 * Callback for setting the container's caller (or Remote user) principal. 57 private Principal principal; field in class:CallerPrincipalCallback 62 * representation of the caller principal 68 * principal. This value may be null. 71 * principal associated with the invocation being processed by the container. 73 * container's representation of the unauthenticated caller principal. The 74 * handler may perform principal mapping of non-null argument Principal 76 * establishes the non-null argument Principal as the caller principal. 82 principal = p; 88 * representation of the caller principal [all...] |
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/common/ |
H A D | PrincipalNameNode.java | 52 * This node handles principal-name information 65 PrincipalNameDescriptor principal = 68 principal.setName(value); 71 principal.setClassLoader(((RootDeploymentDescriptor)rootDesc).getClassLoader()); 87 PrincipalNameDescriptor principal = 90 principal.setClassName(value); 107 //principal-name 108 Element principal = (Element) appendTextChild( 112 setAttribute(principal, RuntimeTagNames.CLASS_NAME, descriptor.getClassName()); 114 return principal; [all...] |
H A D | SecurityRoleMappingNode.java | 95 //principal-name+ 96 PrincipalNameNode principal = new PrincipalNameNode(); 99 principal.writeDescriptor(
|
/glassfish-3.1.2/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/monitoring/ |
H A D | AuthenticationListener.java | 60 public void authSucess(BundleDescriptor desc, Endpoint endpoint, Principal principal); argument 65 * @param principal Optional principal that failed 67 public void authFailure(BundleDescriptor desc, Endpoint endpoint, Principal principal); argument
|
H A D | LogAuthenticationListener.java | 73 public void authSucess(BundleDescriptor bundleDesc, Endpoint endpoint, Principal principal) { argument 90 * @param principal Optional principal that failed 92 public void authFailure(BundleDescriptor bundleDesc, Endpoint endpoint, Principal principal) { argument
|
/glassfish-3.1.2/tests/jbi/security/jse_only/endpoint/ejb/ |
H A D | HelloEJB.java | 59 String principal = (p == null)? "NULL": p.getName(); //p.toString(); 60 System.out.println("****EJB: principal = " + principal); 61 return "JBI-SecurityTest " + who + " PrincipalGot="+principal;
|
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/authentication/ |
H A D | AuthenticationService.java | 49 * For a given principal/userGrooup, a mapping is done to a backendPrincipal 55 /** Maps the principal name to the backendPrincipal. 56 * @param principal Name of the principal 60 public Principal mapPrincipal(Principal principal, Set principalSet); argument
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/authenticator/ |
H A D | SSLAuthenticator.java | 129 Principal principal = 131 if (principal != null) { 133 log("Already authenticated '" + principal.getName() + "'"); 164 principal = context.getRealm().authenticate(certs); 165 if (principal == null) { 179 // Cache the principal (if requested) and record this authentication 180 register(request, response, principal, Constants.CERT_METHOD,
|
H A D | SingleSignOnEntry.java | 81 protected Principal principal = null; field in class:SingleSignOnEntry 91 public SingleSignOnEntry(String id, Principal principal, String authType, argument 95 this.principal = principal; 180 return principal;
|
H A D | BasicAuthenticator.java | 134 Principal principal = 136 if (principal != null) { 138 log.fine("Already authenticated '" + principal.getName() + "'"); 150 principal = context.getRealm().authenticate(username, password); 151 if (principal != null) { 152 register(request, response, principal, Constants.BASIC_METHOD, 169 principal = context.getRealm().authenticate(username, password); 170 if (principal != null) { 171 register(request, response, principal, Constants.BASIC_METHOD,
|
H A D | FormAuthenticator.java | 155 Principal principal = hreq.getUserPrincipal(); 159 if (principal != null && !loginAction) { 161 log.fine("Already authenticated '" + principal.getName() + "'"); 184 principal = 186 if (principal != null) { 187 session.setNote(Constants.FORM_PRINCIPAL_NOTE, principal); 189 register(request, response, principal, 207 principal = (Principal) 209 register(request, response, principal, Constants.FORM_METHOD, 268 principal [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/runtime/ |
H A D | ASEjbPrincipal.java | 53 * principal ? 56 * The principal tag defines a username on the platform 73 String principal = runAsIdDesc.getPrincipal(); 74 if (principal == null){ 77 "NOT APPLICABLE [AS-EJB ejb] : principal element not defined")); 79 if(principal.length()==0){ 82 "FAILED [AS-EJB principal] : name cannot be an empty String")); 86 "PASSED [AS-EJB principal] : name is {0}", new Object[]{principal}));
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/realm/ |
H A D | JAASRealm.java | 352 log.fine("Getting principal " + subject); 355 Principal principal = createPrincipal(username, subject); 356 if (principal == null) { 366 return (principal); 391 * Return the password associated with the given principal's user name. 425 Principal principal = (Principal) principals.next(); 427 if( principal instanceof GenericPrincipal ) { 429 log.fine("Found old GenericPrincipal " + principal ); 430 return principal; 432 String principalClass = principal [all...] |
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/ |
H A D | SecurityMapUtils.java | 72 * @return Hash Map containing 1 - 1 mappings of principal and 86 ResourcePrincipal principal = generateResourcePrincipal(map); 90 userMap.put(principalName, principal); 95 groupMap.put(groupName, principal); 145 private static EisBackendPrincipal transformBackendPrincipal(BackendPrincipal principal) { argument 146 String userName = principal.getUserName(); 147 String password = principal.getPassword();
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/connector/ |
H A D | MapElementNode.java | 79 Principal principal = (Principal) newDescriptor; 80 if (principal.getValue(Principal.CREDENTIAL)==null) { 81 descriptor.addPrincipal(principal); 84 descriptor.setAttributeValue(MapElement.BACKEND_PRINCIPAL, Principal.USER_NAME, principal.getValue(Principal.USER_NAME)); 85 descriptor.setAttributeValue(MapElement.BACKEND_PRINCIPAL, Principal.PASSWORD, principal.getValue(Principal.PASSWORD)); 86 descriptor.setAttributeValue(MapElement.BACKEND_PRINCIPAL, Principal.CREDENTIAL, principal.getValue(Principal.CREDENTIAL)); 107 // backend-principal
|
/glassfish-3.1.2/tests/jbi/security/jse_only/webclient/client/ |
H A D | Client.java | 65 String principal = (p==null)? "NULL": p.toString(); 66 System.out.println("****Servlet: principal = " + principal); 69 String ret = port.sayHello("PrincipalSent="+principal);
|
/glassfish-3.1.2/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/ |
H A D | UpdateConnectorSecurityMap.java | 178 for (String principal : addPrincipals) { 179 if (isPrincipalExisting(principal, maps)) { 181 "The principal {0} already exists in connector connection pool {1}. Please give a different principal name.", 182 principal, poolName)); 221 //check if there is any invalid principal in removePrincipals. 224 String principal = null; 229 principal = p; 238 "The principal {0} that you want to delete does not exist in connector connection pool {1}. Please give a valid principal nam [all...] |
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/security/ |
H A D | SecurityUtil.java | 85 * AccessControlContext containing only the principal of the requested 184 * @param principal the <code>Principal</code> to which the security 191 Principal principal) 212 execute(method, targetObject, targetArguments, principal); 265 * @param principal the <code>Principal</code> to which the security 272 Principal principal) 294 execute(method, targetObject, targetArguments, principal); 309 * @param principal the <code>Principal</code> to which the security 315 Principal principal) 345 if (principal ! 187 doAsPrivilege(final String methodName, final Servlet targetObject, final Class<?>[] targetType, final Object[] targetArguments, Principal principal) argument 268 doAsPrivilege(final String methodName, final Filter targetObject, final Class[] targetType, final Object[] targetArguments, Principal principal) argument 312 execute(final Method method, final Object targetObject, final Object[] targetArguments, Principal principal) argument [all...] |
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/interfaces/ |
H A D | SecurityRoleMapper.java | 93 * @param p The principal that needs to be assigned to the role. 94 * @param r The Role the principal is being assigned to. 100 * Remove the given role-principal mapping 102 * @param principal, the principal 104 public void unassignPrincipalFromRole(Role role, Principal principal); argument
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/ |
H A D | HttpRequest.java | 250 * @param principal The user Principal 252 public void setUserPrincipal(Principal principal); argument
|
/glassfish-3.1.2/web/web-ha/src/main/java/org/glassfish/web/ha/authenticator/ |
H A D | HASingleSignOnEntry.java | 85 this.principal = (Principal)ois.readObject(); 121 public HASingleSignOnEntry(String id, Principal principal, String authType, argument 126 super(id, principal, authType, username, realmName); 133 id, convertToByteArray(principal), authType,
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/security/integration/ |
H A D | AppServSecurityContext.java | 59 * return the caller principal. This information may be redundant 68 * the Credentials of the caller principal. 101 public void setSecurityContextWithPrincipal(Principal principal); argument
|