Examples of cleanSubject()


Examples of javax.security.auth.message.config.ClientAuthContext.cleanSubject()

            Packet request = new Packet();
            PacketMessageInfo info = new PacketMapMessageInfo(request, new Packet());
            Subject subj = getClientSubject(request);
            ClientAuthContext cAC = helper.getClientAuthContext(info, subj);
            if (cAC != null && WSIT_CLIENT_AUTH_CONTEXT.equals(cAC.getClass().getName())) {
                cAC.cleanSubject(info, subj);
            }
        } catch (Exception ex) {
        //ignore exceptions
        }
        helper.disable();
View Full Code Here

Examples of javax.security.auth.message.config.ServerAuthContext.cleanSubject()

            identityService.associate(null);
            try
            {
                String authContextId = serverAuthConfig.getAuthContextID(messageInfo);
                ServerAuthContext authContext = serverAuthConfig.getAuthContext(authContextId,serviceSubject,authProperties);
                authContext.cleanSubject(messageInfo, subject);
            }
            catch (AuthException e)
            {
                throw new ServletException(e);
            }
View Full Code Here

Examples of javax.security.auth.message.config.ServerAuthContext.cleanSubject()

            identityService.associate(null);
            try
            {
                String authContextId = serverAuthConfig.getAuthContextID(messageInfo);
                ServerAuthContext authContext = serverAuthConfig.getAuthContext(authContextId,serviceSubject,authProperties);
                authContext.cleanSubject(messageInfo, subject);
            }
            catch (AuthException e)
            {
                throw new ServletException(e);
            }
View Full Code Here

Examples of javax.security.auth.message.config.ServerAuthContext.cleanSubject()

                        subject = new Subject();
                    }
                    if (subject.isReadOnly()) {
                        _logger.log(Level.WARNING, "Read-only subject found during logout processing");
                    }
                    sAC.cleanSubject(messageInfo, subject);
                }
            } catch (AuthException ex) {
                throw new RuntimeException(ex);
            } finally {
                doLogout();
View Full Code Here

Examples of javax.security.auth.message.config.ServerAuthContext.cleanSubject()

                        subject = new Subject();
                    }
                    if (subject.isReadOnly()) {
                        _logger.log(Level.WARNING, "Read-only subject found during logout processing");
                    }
                    sAC.cleanSubject(messageInfo, subject);
                }
            } catch (AuthException ex) {
                throw new RuntimeException(ex);
            } finally {
                doLogout(req, true);
View Full Code Here

Examples of javax.security.auth.message.config.ServerAuthContext.cleanSubject()

                        subject = new Subject();
                    }
                    if (subject.isReadOnly()) {
                        _logger.log(Level.WARNING, "Read-only subject found during logout processing");
                    }
                    sAC.cleanSubject(messageInfo, subject);
                }
            } catch (AuthException ex) {
                throw new RuntimeException(ex);
            } finally {
                doLogout(req, true);
View Full Code Here

Examples of javax.security.auth.message.config.ServerAuthContext.cleanSubject()

                        subject = new Subject();
                    }
                    if (subject.isReadOnly()) {
                        _logger.log(Level.WARNING, "Read-only subject found during logout processing");
                    }
                    sAC.cleanSubject(messageInfo, subject);
                }
            } catch (AuthException ex) {
                throw new RuntimeException(ex);
            } finally {
                doLogout(req, true);
View Full Code Here

Examples of javax.security.auth.message.config.ServerAuthContext.cleanSubject()

                        subject = new Subject();
                    }
                    if (subject.isReadOnly()) {
                        _logger.log(Level.WARNING, "Read-only subject found during logout processing");
                    }
                    sAC.cleanSubject(messageInfo, subject);
                }
            } catch (AuthException ex) {
                throw new RuntimeException(ex);
            } finally {
                doLogout(req, true);
View Full Code Here

Examples of javax.security.auth.message.config.ServerAuthContext.cleanSubject()

                        subject = new Subject();
                    }
                    if (subject.isReadOnly()) {
                        _logger.log(Level.WARNING, "Read-only subject found during logout processing");
                    }
                    sAC.cleanSubject(messageInfo, subject);
                }
            } catch (AuthException ex) {
                throw new RuntimeException(ex);
            } finally {
                doLogout(req, true);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.