Searched refs:realm (Results 1 - 25 of 123) sorted by relevance

12345

/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/login/common/
H A DPasswordCredential.java46 * This class holds the user password for the shared password realm and the
47 * realm name. This credential is added as a private credential to the
55 private String realm; field in class:PasswordCredential
63 * Construct a credential with the specified password and realm name.
65 * @param the realm name. The only value supported for now is "default".
67 public PasswordCredential(String user, char[] password, String realm) argument
74 this.realm = realm;
78 if (this.realm == null ) { this.realm
86 PasswordCredential(String user, char[] password, String realm, byte[] target_name) argument
112 setRealm(String realm) argument
[all...]
H A DX509CertificateCredential.java47 * This class holds the user certificate for the certificate realm and the
48 * realm name. This credential is added as a public credential to the
54 private String realm; field in class:X509CertificateCredential
59 * chain, realm name and alias.
62 * @param the realm name. The only value supported for now is "certificate".
66 String alias, String realm)
70 this.realm = realm;
82 * Return the realm name.
83 * @return the realm nam
65 X509CertificateCredential(X509Certificate[] certChain, String alias, String realm) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/realm/
H A DJAASCallbackHandler.java59 package org.apache.catalina.realm;
85 * @param realm Our associated JAASRealm instance
89 public JAASCallbackHandler(JAASRealm realm, String username, argument
93 this.realm = realm;
112 protected JAASRealm realm = null; field in class:JAASCallbackHandler
141 if (realm.getDebug() >= 3)
142 realm.log("Returning username " + username);
H A DGenericPrincipal.java59 package org.apache.catalina.realm;
87 * @param realm The Realm that owns this Principal
91 public GenericPrincipal(Realm realm, String name, char[] password) { argument
93 this(realm, name, password, null);
103 * @param realm The Realm that owns this principal
108 public GenericPrincipal(Realm realm, String name, char[] password, argument
112 this.realm = realm;
164 protected Realm realm = null; field in class:GenericPrincipal
167 return (this.realm);
[all...]
H A DConstants.java59 package org.apache.catalina.realm;
72 public static final String Package = "org.apache.catalina.realm";
/glassfish-3.1.2/admingui/common/src/main/resources/security/realms/
H A DrealmAttrs.inc48 <sun:property id="NameProp" rendered="#{edit}" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18nc.realm.realmName}" >
51 <sun:property id="classname" rendered="#{edit}" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18nc.realm.Classname}" >
58 <sun:property id="cp" visible="#{!edit}" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18nc.realm.Classname}" helpText="$resource{i18nc.realm.ClassnameHelp}<br /><br />">
74 <sun:textField id="ClassnameText" text="#{attrMap.classnameInput}" columns="$int{57}" maxLength="#{sessionScope.fieldLengths['maxLength.realm.Classname']}">
86 <sun:propertySheetSection id="fileSection" visible="#{false}" label="$resource{i18nc.realm.specificProps}" >
90 <sun:property id="jaax" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18nc.realm.jaax}" helpText="$resource{i18nc.realm.jaaxHelp}" >
91 <sun:textField id="jaax" columns="$int{60}" maxLength="#{sessionScope.fieldLengths['maxLength.realm.jaax']}" text="#{attrMap.fileJaax}" required="#{true}" />
93 <sun:property id="keyFile" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18nc.realm
[all...]
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/customvalidators/
H A DJDBCRealmPropertyCheckValidator.java58 "com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm";
64 public boolean isValid(final AuthRealm realm, argument
67 if (realm.getClassname().equals(JDBC_REALM)) {
68 Property jaas_context = realm.getProperty("jaas-context");
69 Property ds_jndi = realm.getProperty("datasource-jndi");
70 Property user_table = realm.getProperty("user-table");
71 Property group_table = realm.getProperty("group-table");
72 Property user_name_col = realm.getProperty("user-name-column");
73 Property passwd_col = realm.getProperty("password-column");
74 Property grp_name_col = realm
[all...]
H A DLDAPRealmPropertyCheckValidator.java56 "com.sun.enterprise.security.auth.realm.ldap.LDAPRealm";
61 public boolean isValid(final AuthRealm realm, argument
64 if (realm.getClassname().equals(LDAP_REALM)) {
65 Property jaas_context = realm.getProperty("jaas-context");
66 Property dn = realm.getProperty("base-dn");
67 Property url = realm.getProperty("directory");
H A DSolarisRealmPropertyCheckValidator.java56 "com.sun.enterprise.security.auth.realm.solaris.SolarisRealm";
61 public boolean isValid(final AuthRealm realm, argument
64 if (realm.getClassname().equals(SOLARIS_REALM)) {
65 Property jaas_context = realm.getProperty("jaas-context");
H A DFileRealmPropertyCheckValidator.java56 "com.sun.enterprise.security.auth.realm.file.FileRealm";
61 public boolean isValid(final AuthRealm realm, argument
64 if (realm.getClassname().equals(FILE_REALM)) {
65 Property jaas_context = realm.getProperty("jaas-context");
66 Property file = realm.getProperty("file");
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/
H A DAuditor.java86 * @param realm the realm which handled the authentication
89 public void authentication(String user, String realm, boolean success); argument
/glassfish-3.1.2/security/core/src/main/java/com/iplanet/ias/security/auth/realm/
H A DIASRealm.java41 package com.iplanet.ias.security.auth.realm;
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/realm/
H A DBadUserException.java41 package com.sun.enterprise.security.auth.realm;
46 * This is a special case of a realm data structure being corrupted.
H A DGroupNotEmptyException.java41 package com.sun.enterprise.security.auth.realm;
H A DIASRealm.java41 package com.sun.enterprise.security.auth.realm;
H A DInvalidOperationException.java41 package com.sun.enterprise.security.auth.realm;
45 * Exception thrown when an operation is invoked on a realm that does not
47 * e.g. Invoking getGroups (username) is not supported by a certificate realm.
55 * @param info describes the problem with the realm
H A DNoSuchRealmException.java41 package com.sun.enterprise.security.auth.realm;
45 * Exception thrown when an operation is requested on a realm which
55 * @param info describes the realm which does not exist
H A DNoSuchUserException.java41 package com.sun.enterprise.security.auth.realm;
H A DDigestRealm.java41 package com.sun.enterprise.security.auth.realm;
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/realm/file/
H A DFileRealmUser.java41 package com.sun.enterprise.security.auth.realm.file;
45 import com.sun.enterprise.security.auth.realm.NoSuchRealmException;
46 import com.sun.enterprise.security.auth.realm.Realm;
47 import com.sun.enterprise.security.auth.realm.User;
60 String realm; field in class:FileRealmUser
65 public FileRealmUser(FileRealmHelper.User user, String realm) argument
68 this.realm = realm;
76 * Returns the realm with which this user is associated
79 * @exception NoSuchRealmException if the realm associate
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/digest/impl/
H A DKeyDigestAlgoParamImpl.java58 public KeyDigestAlgoParamImpl(String user, String realm) { argument
60 this.realmName = realm;
63 public KeyDigestAlgoParamImpl(String algorithm, String user, String realm) { argument
65 this.realmName = realm;
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/base/
H A DRealms.java73 public void addUser( String realm, String user, String password, String[] groupList ); argument
75 public void updateUser( String realm, String user, String newUser, String password, String[] groupList ); argument
77 public void removeUser(String realm, String user); argument
80 public String[] getUserNames(String realm); argument
82 public String[] getGroupNames(String realm); argument
85 public Map<String,Object> getUserAttributes(final String realm, final String user); argument
88 public String[] getGroupNames(String realm, String user); argument
90 /** @return true if the realm implementation support User Management (add,remove,update user) */
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/api/
H A DAdminAccessController.java79 /** Authenticates the admin user by delegating to the underlying realm. The implementing classes
81 * the realm infrastructure is available in both the configuration and runtime of the server.
86 * @param realm String representing the name of the admin realm for given server
92 String realm, String originHost) throws LoginException;
94 /** Authenticates the admin user by delegating to the underlying realm. The implementing classes
96 * the realm infrastructure is available in both the configuration and runtime of the server.
108 * @param realm String representing the name of the admin realm for given server
115 AdminAccessController.Access loginAsAdmin(String user, String password, String realm, argument
91 loginAsAdmin(String user, String password, String realm, String originHost) argument
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/
H A DAuthenticationStatusImpl.java57 * @param The name of the realm that authenticated the principal
62 String realm,
67 this.realmName = realm;
97 * This method returns the name of realm where the authentication was
99 * @return A java.lang.String representation of the realm.
61 AuthenticationStatusImpl(String principalName, String authMethod, String realm, int status) argument
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/login/
H A DJDBCDigestLoginModule.java44 import com.sun.enterprise.security.auth.realm.BadRealmException;
45 import com.sun.enterprise.security.auth.realm.DigestRealm;
46 import com.sun.enterprise.security.auth.realm.InvalidOperationException;
47 import com.sun.enterprise.security.auth.realm.NoSuchUserException;

Completed in 103 milliseconds

12345